Degeneration theory